from Browser import *
import unittest

class TestBaidu2(unittest.TestCase):

    def test_search_key_python(self):
        search_key = "python"
        baidu_search(search_key)
        self.assertEqual(Browser.driver.title, search_key + "_百度搜索")